<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Toggle Comment Tool</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../../css/style.css" type="text/css">
</head>

<body>
<table width="100%" border="0" cellpadding="4">
  <tr>
    <td class="head" height="16">Toggle Comment Tool</td>
  </tr>
  <tr>
    <td bgcolor="#FF9900" height="6"></td>
  </tr>
  <tr>
    <td height=6></td>
  </tr>
</table>
<p class="title">Toggle Comment Tool</p>
<p class="text" align="left">
This tool can toggle comment of selected code block, Delphi and C++Builder are supported. Its default shortcut is Ctrl+/ .</p>
<p class="text" align="left">
For code block, if the first line is not commented by '//', then the tool will add '//' to each line head even someone is commented.
Otherwise, the tool will toggle comment each line according its status.</p>
<p class="text" align="left">
You may select code block before use this tool. If you select nothing, then current line will be processed.</p>
<p class="text" align="left">The setting dialog is as below:</p>
<p class="text" align="center"> <img src="codecomment.png"></p>
<ul>
  <li> 
    <p class="text"><b>Move to Next Line after Toggle</b>: Whether move cursor to next line after toggle comment. Default is not. This option can be used to toggle lines quickly one after one.</p>
  </li>
  <li> 
    <p class="text"><b>Comment Mode</b>: Control the Comment Insert Mode.</p>
    <ul>
    <li><p class="text"><b>Insert // to Line Head</b>: Insert // to line head when comment code.</p></li>
    <li><p class="text"><b>Insert // to Non-Space Line Head</b>: Skip the spaces at line head and insert //. If no space or line is empty, // will be insert to line head.</p></li>
    <li><p class="text"><b>Replace Space at Line Head using //</b>: If there're 2 or more spaces at line head, replace the 2 spaces with //.</p></li>
    </ul>
  </li>
</ul>
<p class="text" align="left">
&nbsp;</p>
<p class="title" align="left">Links<p class="text" align="left">
<a href="../../options/wizconfig.htm">CnWizards Settings</a><p class="text" align="left">
<a href="wizeditors.htm">Coding Toolset Settings</a><p class="text" align="left">
<a href="../../cnpack/index.htm">About CnWizards</a><p class="text" align="left"><hr>
<p class="text" align="center"><a href="http://www.cnpack.org">Copyrights 2001-2023 CnPack Team</a></p>
</body>
</html>